<?php
/**
 * Created by PhpStorm.
 * User: touchmini
 * Date: 14-2-11
 * Time: 下午4:53
 */
class Likes extends Eloquent
{
    protected $table = 'likes';

    public function posts()
    {
        return $this->belongsTo('posts');
    }
}